<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>LTE-UNB: RadioChannel/SmallScaleFading.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">LTE-UNB
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">RadioChannel/SmallScaleFading.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_small_scale_fading_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00019"></a>00019 <span class="preprocessor">#ifndef _SmallScaleFading_h_</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define _SmallScaleFading_h_</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span>
<a name="l00022"></a>00022 <span class="preprocessor">#include &quot;<a class="code" href="_fading_8h.html">Fading.h</a>&quot;</span>
<a name="l00023"></a>00023 <span class="preprocessor">#include &lt;itpp/comm/channel.h&gt;</span>
<a name="l00024"></a>00024 
<a name="l00025"></a>00025 <span class="keyword">using namespace </span>std;
<a name="l00026"></a>00026 <span class="keyword">using namespace </span>itpp;
<a name="l00027"></a>00027 
<a name="l00028"></a>00028 <span class="keyword">namespace </span>RadioChannel
<a name="l00029"></a>00029 {
<a name="l00030"></a>00030 
<a name="l00035"></a><a class="code" href="class_radio_channel_1_1_small_scale_fading.html">00035</a> <span class="keyword">class </span><a class="code" href="class_radio_channel_1_1_small_scale_fading.html">SmallScaleFading</a> : <span class="keyword">public</span> <a class="code" href="class_radio_channel_1_1_fading.html">Fading</a>
<a name="l00036"></a>00036 {
<a name="l00037"></a>00037    <span class="keyword">public</span>:
<a name="l00038"></a>00038 
<a name="l00043"></a>00043       <a class="code" href="class_radio_channel_1_1_small_scale_fading.html">SmallScaleFading</a>();
<a name="l00044"></a>00044       
<a name="l00049"></a>00049       <span class="keyword">virtual</span> ~<a class="code" href="class_radio_channel_1_1_small_scale_fading.html">SmallScaleFading</a>();
<a name="l00050"></a>00050       
<a name="l00056"></a>00056       <span class="keywordtype">void</span> setParameters();
<a name="l00057"></a>00057       
<a name="l00062"></a>00062       <span class="keywordtype">void</span> initialize();
<a name="l00063"></a>00063       
<a name="l00068"></a>00068       <span class="keywordtype">void</span> createChannel();
<a name="l00069"></a>00069       
<a name="l00074"></a>00074       <span class="keywordtype">void</span> generateFading( Array&lt;vec&gt;&amp; fading );
<a name="l00075"></a>00075       
<a name="l00080"></a>00080       <span class="keywordtype">double</span> getTimeStep();
<a name="l00081"></a>00081       
<a name="l00086"></a>00086       <span class="keywordtype">double</span> getFrequencyStep(); 
<a name="l00087"></a>00087       
<a name="l00091"></a>00091       <span class="keywordtype">void</span> saveFadingArray(); 
<a name="l00092"></a>00092       
<a name="l00093"></a>00093       
<a name="l00094"></a>00094 
<a name="l00095"></a>00095              
<a name="l00096"></a>00096    <span class="keyword">protected</span>:
<a name="l00097"></a>00097       
<a name="l00102"></a><a class="code" href="class_radio_channel_1_1_small_scale_fading.html#abb8525e336361a1f42af878e06bb0797">00102</a>       Array&lt;cvec&gt; <a class="code" href="class_radio_channel_1_1_small_scale_fading.html#abb8525e336361a1f42af878e06bb0797">channel_</a>;
<a name="l00103"></a>00103       
<a name="l00108"></a><a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a7fd2db2525b9de1ac75cc666326a653e">00108</a>       Array&lt;vec&gt; <a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a7fd2db2525b9de1ac75cc666326a653e">fading_</a>;
<a name="l00109"></a>00109       
<a name="l00114"></a><a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a361042bee5d8225aee5de5d4b62da6d7">00114</a>       <span class="keywordtype">int</span> <a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a361042bee5d8225aee5de5d4b62da6d7">numberUsers_</a>;
<a name="l00115"></a>00115       
<a name="l00120"></a><a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a9d4cdd3814359882c9d3b7e5e2447a9d">00120</a>       <span class="keywordtype">int</span> <a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a9d4cdd3814359882c9d3b7e5e2447a9d">numberENodeBs_</a>;
<a name="l00121"></a>00121       
<a name="l00126"></a><a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a9b06bf59c04f32ebd29745e57ab357f3">00126</a>       <span class="keywordtype">double</span> <a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a9b06bf59c04f32ebd29745e57ab357f3">totalTime_</a>;
<a name="l00127"></a>00127       
<a name="l00132"></a><a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a231aa3cb7626e1e88bd34efbd04c8218">00132</a>       <span class="keywordtype">int</span> <a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a231aa3cb7626e1e88bd34efbd04c8218">numberFrequencies_</a>;
<a name="l00133"></a>00133       
<a name="l00138"></a><a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a4d5961f84b662bf495e9445dc8ac777d">00138</a>       <span class="keywordtype">int</span> <a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a4d5961f84b662bf495e9445dc8ac777d">numberAntennas_</a>;
<a name="l00139"></a>00139       
<a name="l00144"></a><a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a7160258bb2be4298fb0a1be70225e93f">00144</a>       CHANNEL_PROFILE <a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a7160258bb2be4298fb0a1be70225e93f">channelProfile_</a>;
<a name="l00145"></a>00145       
<a name="l00150"></a><a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a1da2b8e28c54aa9a49c84033b89efff3">00150</a>       <span class="keywordtype">double</span> <a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a1da2b8e28c54aa9a49c84033b89efff3">bandWidth_</a>;
<a name="l00151"></a>00151       
<a name="l00156"></a><a class="code" href="class_radio_channel_1_1_small_scale_fading.html#ac9dd0f33ec8d7bdfc3bc94c2eaa87d11">00156</a>       <span class="keywordtype">double</span> <a class="code" href="class_radio_channel_1_1_small_scale_fading.html#ac9dd0f33ec8d7bdfc3bc94c2eaa87d11">userSpeed_</a>;
<a name="l00157"></a>00157       
<a name="l00162"></a><a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a2f0d29a734e70380f30285ace5e043fa">00162</a>       <span class="keywordtype">double</span> <a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a2f0d29a734e70380f30285ace5e043fa">carrierFrequency_</a>;
<a name="l00163"></a>00163          
<a name="l00168"></a><a class="code" href="class_radio_channel_1_1_small_scale_fading.html#aa0f8078d26cf583d5cc2b4b9c0a35e8e">00168</a>       <span class="keywordtype">double</span> <a class="code" href="class_radio_channel_1_1_small_scale_fading.html#aa0f8078d26cf583d5cc2b4b9c0a35e8e">maximumDopplerShift_</a>;
<a name="l00169"></a>00169       
<a name="l00174"></a><a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a50b29ce5219339fabccd93621a80c36c">00174</a>       <span class="keywordtype">double</span> <a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a50b29ce5219339fabccd93621a80c36c">simulationTime_</a>; 
<a name="l00175"></a>00175       
<a name="l00180"></a><a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a24ad7b3f2261086661fa5a09152564ee">00180</a>       <span class="keywordtype">double</span> <a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a24ad7b3f2261086661fa5a09152564ee">bandWidthSubcarrier_</a>;
<a name="l00181"></a>00181       
<a name="l00186"></a><a class="code" href="class_radio_channel_1_1_small_scale_fading.html#af82e741b029ff0cdab246e034eb09dfa">00186</a>       <span class="keywordtype">double</span> <a class="code" href="class_radio_channel_1_1_small_scale_fading.html#af82e741b029ff0cdab246e034eb09dfa">timeStep_</a>;
<a name="l00187"></a>00187       
<a name="l00192"></a><a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a1e2bfe0ff96454102c581b70f4e3b91c">00192</a>       <span class="keywordtype">double</span> <a class="code" href="class_radio_channel_1_1_small_scale_fading.html#a1e2bfe0ff96454102c581b70f4e3b91c">frequencyStep_</a>;
<a name="l00193"></a>00193    
<a name="l00194"></a>00194    
<a name="l00195"></a>00195    <span class="keyword">private</span>:
<a name="l00196"></a>00196    
<a name="l00197"></a>00197 
<a name="l00198"></a>00198 };
<a name="l00199"></a>00199 
<a name="l00200"></a>00200 };
<a name="l00201"></a>00201 
<a name="l00202"></a>00202 <span class="preprocessor">#endif</span>
<a name="l00203"></a>00203 <span class="preprocessor"></span>
</pre></div></div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Oct 25 2012 22:25:34 for LTE-UNB by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
